﻿using YNTK.Common.Const;
using SqlSugar;

namespace YNTK.Employees.Entitys.Entity
{
    /// <summary>
    /// 员工家庭成员
    /// </summary>
    [SugarTable("employees_familymembers")]
    [Tenant(ClaimConst.TENANT_ID)]
    public class FamilyMembersEntity
    {
        /// <summary>
        /// id
        /// </summary>
        [SugarColumn(ColumnName = "F_Id", ColumnDescription = "id")]
        public string Id { get; set; }

        /// <summary>
        /// 员工id
        /// </summary>
        [SugarColumn(ColumnName = "F_EmployeeId", ColumnDescription = "员工id")]
        public string EmployeeId { get; set; }

        /// <summary>
        /// 关系
        /// </summary>
        [SugarColumn(ColumnName = "F_Relation", ColumnDescription = "关系")]
        public string Relation { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        [SugarColumn(ColumnName = "F_Name", ColumnDescription = "姓名")]
        public string Name { get; set; }

        /// <summary>
        /// 工作单位
        /// </summary>
        [SugarColumn(ColumnName = "F_WorkUnit", ColumnDescription = "工作单位")]
        public string WorkUnit { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        [SugarColumn(ColumnName = "F_ContactPhone", ColumnDescription = "联系电话")]
        public string ContactPhone { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        [SugarColumn(ColumnName = "F_Address", ColumnDescription = "地址")]
        public string Address { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "F_Description")]
        public string Description { get; set; }
    }
}
